package cn.agiledata.bank.barcodepayment.dao;

import java.util.Date;
import java.util.Set;

import cn.agiledata.bank.hibernateBean.BarCodePayDetail;

import java.util.List;

public interface BarCodePayDetailDao {
	public void saveBarCodePayDetail(BarCodePayDetail detail);
	
	public void updateBarCodePayDetail(BarCodePayDetail detail);
	
	
	 public BarCodePayDetail unLogHistoryDetail(String barCode); 
	
	public BarCodePayDetail getBarCodePayDetailByPayFeeNo(String payFeeNo);
	
	public List getBarCodePayDetail(String barcode,String payfeeStatus);
	
	/**
	 * 查询在现在之前的，状态为已支付的，发生的barCodePayDetail
	 * @param day
	 * @return
	 */
	public Set getBarCodePayDetailsBeforeNow();
}
